import { sidebar } from "vuepress-theme-hope";

export const zhSidebar = sidebar({
  "/": [
    "",
    {
      text: "那些重要的东西",
      icon: "edit",
      prefix: "/posts/",
      children: [{ text: "散句", icon: "edit", link: "散句" }],
    },
    {
      text: "诗歌",
      icon: "edit",
      prefix: "poem/",
      children: [
        { text: "有趣", icon: "edit", link: "有趣" },
        { text: "爱情", icon: "edit", link: "爱情" },
        { text: "家人", icon: "edit", link: "家人" },
      ],
    },
    {
      text: "前端面试题",
      icon: "edit",
      prefix: "interview/",
      children: [
        {
          text: "javascript",
          icon: "edit",
          link: "js",
        },
        {
          text: "vue",
          icon: "edit",
          link: "vue",
        },
      ],
    },
    {
      text: "哲学",
      icon: "edit",
      prefix: "philosophy/",
      children: [
        { text: "认知", icon: "edit", link: "认知" },
        { text: "道德经", icon: "edit", link: "道德经" },
        { text: "紫微斗数", icon: "edit", link: "紫微斗数" },
      ],
    },
    {
      text: "日记",
      icon: "edit",
      link: "/diary/2023",
    },
    {
      text: "年度计划",
      icon: "edit",
      prefix: "/plan/",
      children: [
        { text: "2023年计划", icon: "edit", link: "2023" },
        { text: "2024年计划", icon: "edit", link: "2024" },
      ],
    },
    {
      text: "投资",
      icon: "edit",
      link: "/investment/汇总",
    },
  ],
});
